package com.ssn.prototype;

public class Monster implements Cloneable {
    private String name;
    private Double damage;
    private Integer health;

    public Monster(String name, Double damage, Integer health) {
        this.name = name;
        this.damage = damage;
        this.health = health;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    public String toString() {
        return "Monster{" +
                "name='" + name + '\'' +
                ", damage=" + damage +
                ", health=" + health +
                '}';
    }
}
